package com.yhsoft.mall.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yhsoft.mall.controller.request.*;
import com.yhsoft.mall.controller.response.TopicInfoOutVo;
import com.yhsoft.mall.controller.response.TopicListOutVo;
import com.yhsoft.mall.entity.TopicInfo;

/**
 * <p>
 * 商城专题信息表 服务类
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-10-12
 */
public interface ITopicInfoService extends IService<TopicInfo> {

    IPage<TopicListOutVo> getTopicList(TopicListInVo inVo);

    void addTopicInfo(TopicInfoAddInVo inVo);

    void deleteTopicInfo(Integer id);

    void setTopicGeneralBar(TopicGeneralInVo inVo);

    TopicGeneralInVo getTopicGeneralInfo(Integer id);

    void addTopUpBar(TopUpBarInVo inVo);

    void updateTopUpBar(TopUpBarInVo inVo);

    void addGoodsBar(TopicGoodsBarInVo inVo);

    void updateGoodsBar(TopicGoodsBarInVo inVo);

    void addBrandBar(BrandBarInVo inVo);

    void updateBrandBar(BrandBarInVo inVo);

    TopicInfoOutVo getTopUpTopicInfo(Integer id);


    boolean exists(String BarName, Integer id);
}
